layui.use('layer', function(){
			  var layer = layui.layer;
			  //模拟询问框
			  layer.confirm('is not?', {icon: 3, title:'提示'}, function(index){
				  //确定按钮   do something 
				  console.log('确定');
				  layer.close(index);
				},function(index){
				  //关闭按钮   do something 
				  console.log('关闭');
				  layer.close(index);
				});
			});   